package com.eyedsion.his.web.entity.common;

/**
 * @author 彭长云
 * @Description:调用webservice参数
 * @date 2019/1/25 10:06
 */
public class WebServiceParam {
    public enum getType{
        add,
        update
    }
    //获取类型，add新增的数据，update修改的数据
    private String getType;
    //数据日期
    private String dataDate;
    //分页参数:当前页
    private Integer pageIndex;
    //分页参数:每页数量
    private Integer pageSize;
    //查询到的数据总条数
    private Integer totalCount;

    public WebServiceParam() {
    }

    public WebServiceParam(WebServiceParam.getType getType, String dataDate) {
        this.getType = getType.toString();
        this.dataDate = dataDate;
    }

    public WebServiceParam(String getType, String dataDate, Integer pageIndex, Integer pageSize) {
        this.getType = getType;
        this.dataDate = dataDate;
        this.pageIndex = pageIndex;
        this.pageSize = pageSize;
    }

    public String getGetType() {
        return getType;
    }

    public void setGetType(String getType) {
        this.getType = getType;
    }

    public String getDataDate() {
        return dataDate;
    }

    public void setDataDate(String dataDate) {
        this.dataDate = dataDate;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

}
